package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/*CREATE TABLE `cmfz_role` (
  `role_id` int(11) NOT NULL auto_increment,
  `role_name` varchar(50) default NULL,
  PRIMARY KEY  (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
角色表
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cmfz_role")
public class CmfzRole implements Serializable {
    @TableId(value = "role_id",type = IdType.AUTO)
    private Integer roleId;
    private String roleName;
}
